import React from 'react'

import logo from '../../logo.svg'
export default class Header extends React.Component{
   constructor(...arg){
       super(...arg);
       this.state={

      }
   }
    render(){
        return(
            <div className='box'>
                <header className='header'>{this.props.title}</header>
                <img src={logo} alt="logo" className='logo1'/>
                <p className='title'>react app</p>
            </div>
        )
    }


}